From 37756e8f0d00309a40f62b59ed2833fee762652d Mon Sep 17 00:00:00 2001
From: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Date: Wed, 25 Aug 2021 12:20:31 +0200
Subject: [PATCH] require cmake 3.16

close #3572

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
---
 CMakeLists.txt                           | 2 +-
 admin/win/tools/CMakeLists.txt           | 2 +-
 shell_integration/dolphin/CMakeLists.txt | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8e2a63e581..c389ec3ea2 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.6)
+cmake_minimum_required(VERSION 3.16)
 set(CMAKE_CXX_STANDARD 14)
 
 project(client)
diff --git a/admin/win/tools/CMakeLists.txt b/admin/win/tools/CMakeLists.txt
index 934e6b15cf..7117b5b603 100644
--- a/admin/win/tools/CMakeLists.txt
+++ b/admin/win/tools/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.2)
+cmake_minimum_required(VERSION 3.16)
 set(CMAKE_CXX_STANDARD 17)
 
 if(CMAKE_SIZEOF_VOID_P MATCHES 4)
diff --git a/shell_integration/dolphin/CMakeLists.txt b/shell_integration/dolphin/CMakeLists.txt
index 60a38e3899..3dbf2dae92 100644
--- a/shell_integration/dolphin/CMakeLists.txt
+++ b/shell_integration/dolphin/CMakeLists.txt
@@ -1,6 +1,6 @@
 project(dolphin-owncloud)
 
-cmake_minimum_required(VERSION 2.8.12)
+cmake_minimum_required(VERSION 3.16)
 
 set(QT_MIN_VERSION "5.15.0")
 set(KF5_MIN_VERSION "5.16.0")
